package com.cyms.modules.order.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.cyms.common.utils.PageUtils;
import com.cyms.common.utils.Query;

import com.cyms.modules.order.dao.OrderCarPayDao;
import com.cyms.modules.order.entity.OrderCarPayEntity;
import com.cyms.modules.order.service.OrderCarPayService;


@Service("orderCarPayService")
public class OrderCarPayServiceImpl extends ServiceImpl<OrderCarPayDao, OrderCarPayEntity> implements OrderCarPayService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<OrderCarPayEntity> page = this.selectPage(
                new Query<OrderCarPayEntity>(params).getPage(),
                new EntityWrapper<OrderCarPayEntity>()
        );

        return new PageUtils(page);
    }

}
